<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const info = {
        height: 300,
        color: "green",
      };
      const { width = 100, height = prompt(), color: xColor = "red" } = info;
      console.log(width, height, xColor);
    </script>
  </body>
</html>
